public class Oddnumber {
    public static void main(String[] args) {
        int[] arr = {2, 4, 6, 1};
        int[] arr1 = {1, 2, 34, 3, 4, 5, 7, 23, 12};
        boolean bool = true;
        int count = 0;
        for(int i = 0;i < arr1.length;i++){
           if(arr1[i]%2!=0){
               count++;
               if(count==3){
                   break;
               }
           }else{
               count=0;
           }
        }
        if(count<3){
            bool = false;
        }
        System.out.println(bool);
    }
}
